- ACTION_CONNECT_STATUS - 类 中的静态变量com.gprinter.command.GpCom
-
- ACTION_CONNECT_STATUS - 类 中的静态变量com.gprinter.service.GpPrintService
-
- ACTION_DEVICE_REAL_STATUS - 类 中的静态变量com.gprinter.command.GpCom
-
- ACTION_LABEL_RESPONSE - 类 中的静态变量com.gprinter.command.GpCom
-
- ACTION_PORT_CLOSE - 类 中的静态变量com.gprinter.service.GpPrintService
-
- ACTION_PORT_OPEN - 类 中的静态变量com.gprinter.service.GpPrintService
-
- ACTION_PRINT_TESTPAGE - 类 中的静态变量com.gprinter.service.GpPrintService
-
- ACTION_PRINTER_STATUS - 类 中的静态变量com.gprinter.service.GpPrintService
-
- ACTION_RECEIPT_RESPONSE - 类 中的静态变量com.gprinter.command.GpCom
-
- ACTION_USB_DEVICE_ATTACHED - 类 中的静态变量com.gprinter.io.UsbPort
-
- add1DBarcode(int, int, LabelCommand.BARCODETYPE, int, LabelCommand.READABEL, LabelCommand.ROTATION, String) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:在标签上绘制一维条码
- add1DBarcode(int, int, LabelCommand.BARCODETYPE, int, LabelCommand.READABEL, LabelCommand.ROTATION, int, int, String) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:在标签上绘制一维条码
- addArabicText(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:插入阿拉伯文字
- addBackFeed(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:退纸 单位为dot 1mm为8dot
- addBar(int, int, int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:在标签上画线
- addBitmap(int, int, LabelCommand.BITMAP_MODE, int, Bitmap) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:在标签上绘制图片
- addBitmap(int, int, int, Bitmap) - 类 中的方法com.gprinter.command.LabelCommand
-
- addBitmapByMethod(int, int, LabelCommand.BITMAP_MODE, int, Bitmap) - 类 中的方法com.gprinter.command.LabelCommand
-
- addBox(int, int, int, int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:在标签上绘制黑块
- addCancelKanjiMode() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置汉字无效
- addCancelUserDefinedCharacters(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置取消自定义字符
- addCashdrwer(LabelCommand.FOOT, int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:打开钱箱命令
- addCls() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:清除打印缓冲区
- addCODABAR(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印CODABAR码
- addCODE128(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印CODE128码
- addCODE39(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印UPCE条码
- addCODE93(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印CODE93码
- addCodePage(LabelCommand.CODEPAGE) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置蜂鸣器
- addCutAndFeedPaper(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置切纸后走纸
- addCutPaper() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:切纸
- addCutter(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置切刀是否有效
- addCutterBatch() - 类 中的方法com.gprinter.command.LabelCommand
-
打印到最后一张切纸
- addCutterPieces(short) - 类 中的方法com.gprinter.command.LabelCommand
-
设置打印几张后切纸,如果调用addPrint的打印份数小于number,则不会进行切纸
- addDensity(LabelCommand.DENSITY) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置打印浓度
- addDirection(LabelCommand.DIRECTION, LabelCommand.MIRROR) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置打印方向
- addDownloadNvBitImage(Bitmap[]) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明: 打印下载NV位图
- addEAN13(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印EAN13码
- addEAN8(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印EAN8码
- addErase(int, int, int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:该指令用于清除影像缓冲区部份区域的数据
- addFeed(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:进纸 单位为dot 1mm为8dot
- addFormFeed() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:走一张标签
- addGap(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置标签间隙尺寸 单位mm
- addGeneratePlus(LabelCommand.FOOT, byte, byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:开钱箱
- addGeneratePluseAtRealtime(LabelCommand.FOOT, byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:立即开启钱箱
- addHome() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:校准标签纸
- addHorTab() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:插入水平跳格
- addInitializePrinter() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印机初始化
- addITF(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印ITF条码
- addLimitFeed(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明 :该指令用于设定打印机进纸时,若经过所设定的长度仍无法侦测到垂直间距, 则打印机发生错误,停止进纸
- addOffset(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置剥离模式下标签停止的位置 单位mm
- addPartialCutter(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置切刀半切是否有效
- addPeel(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置打印机剥离模式
- addPrint(int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:执行打印
- addPrint(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:执行打印
- addPrintAndFeedLines(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印并且走纸多少行
- addPrintAndFeedPaper(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置打印后走纸距离
- addPrintAndLineFeed() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:进纸一行
- addPrintKey(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置是否按键打印有效
- addPrintKey(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置按键打印份数
- addPrintNvBitmap(byte, byte) - 类 中的方法com.gprinter.command.EscCommand
-
- addPrintQRCode() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印存储的QRCode
- addQRCode(int, int, LabelCommand.EEC, int, LabelCommand.ROTATION, String) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:该指令用于清除影像缓冲区部份区域的数据
- addQueryPrinterCodePage() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:查询打印机代码页
- addQueryPrinterFile() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:查询打印机存储文档
- addQueryPrinterLife() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:查询打印机已打印里程
- addQueryPrinterMemory() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:查询打印机内存
- addQueryPrinterStatus() - 类 中的方法com.gprinter.command.EscCommand
-
此方法一般在一张订单的最后加入,
打印机打印完成时,
会接收到一条GpCom.ACTION_DEVICE_STATUS广播,
可以在此广播里发送下一条订单给打印机
- addQueryPrinterStatus() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:查询打印机实时状态
- addQueryPrinterStatus(LabelCommand.RESPONSE_MODE) - 类 中的方法com.gprinter.command.LabelCommand
-
此方法一般在一张订单的最后加入, 打印机打印完成时, 会接收到一条GpCom.ACTION_DEVICE_STATUS广播,
可以在此广播里发送下一条订单给打印机
RESPONSE_MODE.ON 打开自动返回状态功能,每打印一张返回一次
RESPONSE_MODE.OFF 关闭自动返回状态功能
RESPONSE_MODE.BATCH 打开自动返回状态功能,打印完毕后返回一次
- addQueryPrinterType() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明 :查询打印机型号
- addRastBitImage(Bitmap, int, int) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明: 打印光栅位图
- addRastBitImageWithMethod(Bitmap, int, int, int) - 类 中的方法com.gprinter.command.EscCommand
-
打印光栅位图 需要选择打印算法,可通过GpUtils.
- addReference(int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置标签原点坐标
- addReprint(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置出现错误时是否打印上一张内容
- addResetPrinter() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:打印机复位
- addReverse(int, int, int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:该指令用于清除影像缓冲区部份区域的数据
- addSelectCharacterFont(EscCommand.FONT) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置字符类型
- addSelectCodePage(EscCommand.CODEPAGE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置代码页
- addSelectDefualtLineSpacing() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置为默认行间距
- addSelectErrorCorrectionLevelForQRCode(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置QRCode纠错级别
- addSelectInternationalCharacterSet(EscCommand.CHARACTER_SET) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置国际字符集
- addSelectJustification(EscCommand.JUSTIFICATION) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置对齐方式
- addSelectKanjiMode() - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置汉字有效
- addSelectOrCancelUserDefineCharacter(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置是否取消自定义字符
- addSelectPrintingPositionForHRICharacters(EscCommand.HRI_POSITION) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置条码可识别字符
- addSelectPrintModes(EscCommand.FONT, EscCommand.ENABLE, EscCommand.ENABLE, EscCommand.ENABLE, EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置打印模式
- addSelectSizeOfModuleForQRCode(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置QRCode单元模块大小
- addSelfTest() - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:打印自检页
- addSetAbsolutePrintPosition(short) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置绝对打印位置
- addSetAutoSatusBack(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置打印机是否自动返回状态
- addSetBarcodeHeight(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置条码高度
- addSetBarcodeWidth(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置条码单元宽度
- addSetCharcterSize(EscCommand.WIDTH_ZOOM, EscCommand.HEIGHT_ZOOM) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置字符放大
- addSetFontForHRICharacter(EscCommand.FONT) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置条码字符种类
- addSetHorAndVerMotionUnits(byte, byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置水平和垂直单位距离
- addSetKanjiFontMode(EscCommand.ENABLE, EscCommand.ENABLE, EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置是否汉字字体
- addSetKanjiLefttandRightSpace(byte, byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置汉字左右间距
- addSetKanjiUnderLine(EscCommand.UNDERLINE_MODE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置汉字下划线
- addSetLeftMargin(short) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置打印左间距
- addSetLineSpacing(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置行间距
- addSetPrintingAreaWidth(short) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置打印宽度
- addSetQuadrupleModeForKanji(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置汉字倍宽倍高
- addSetRelativePrintPositon(short) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置相对打印位置
- addSetRightSideCharacterSpacing(byte) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置字符右间距
- addShif(int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置标签偏移距离 单位mm
- addSize(int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置标签尺寸的宽和高
- addSound(byte, byte) - 类 中的方法com.gprinter.command.EscCommand
-
蜂鸣器
- addSound(int, int) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置蜂鸣器
- addSpeed(LabelCommand.SPEED) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置打印速度
- addStoreQRCodeData(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:存入QRCode数据在打印机
- addTear(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:设置打印机撕离模式
- addText(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:插入文字
- addText(String, String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:插入文字
- addText(int, int, LabelCommand.FONTTYPE, LabelCommand.ROTATION, LabelCommand.FONTMUL, LabelCommand.FONTMUL, String) - 类 中的方法com.gprinter.command.LabelCommand
-
方法说明:在标签上绘制文字
- addTurn90ClockWiseRotatin(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置字符是否旋转90°
- addTurnDoubleStrikeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置加重模式
- addTurnEmphasizedModeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置加粗模式
- addTurnReverseModeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置反白模式
- addTurnUnderlineModeOnOrOff(EscCommand.UNDERLINE_MODE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置下划线
- addTurnUpsideDownModeOnOrOff(EscCommand.ENABLE) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:设置倒置模式
- addUPCA(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明:打印UPCA条码
- addUPCE(String) - 类 中的方法com.gprinter.command.EscCommand
-
方法说明 打印UPCE条码
- addUserCommand(byte[]) - 类 中的方法com.gprinter.command.EscCommand
-
- addUserCommand(String) - 类 中的方法com.gprinter.command.LabelCommand
-
- ALGORITHM_DITHER_16x16 - 类 中的静态变量com.gprinter.command.GpUtils
-
- ALGORITHM_DITHER_16x16 - 类 中的静态变量com.gprinter.io.utils.GpUtils
-
- ALGORITHM_DITHER_8x8 - 类 中的静态变量com.gprinter.command.GpUtils
-
- ALGORITHM_DITHER_8x8 - 类 中的静态变量com.gprinter.io.utils.GpUtils
-
- ALGORITHM_GRAYTEXTMODE - 类 中的静态变量com.gprinter.command.GpUtils
-
- ALGORITHM_GRAYTEXTMODE - 类 中的静态变量com.gprinter.io.utils.GpUtils
-
- ALGORITHM_TEXTMODE - 类 中的静态变量com.gprinter.command.GpUtils
-
- ALGORITHM_TEXTMODE - 类 中的静态变量com.gprinter.io.utils.GpUtils
-
- ALLSERVICE - 类 中的静态变量com.gprinter.service.GpPrintService
-
- ATKINSON_DITHER - 类 中的静态变量com.gprinter.command.GpUtils
-